package com.lp.biz.members.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.io.Serial;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * biz_members_rel实体类
 * 会员持续记录和有效期
 * @program: backend
 * @author Ke.Song
 * @since 2024-04-14 22:28:27
 */
@Data
@TableName("biz_members_rel")
public class BizMembersRel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Integer bizMembersId;

    private Integer memberId;

    private Integer bizOrderId;

    /**
     * 创建时间
     */
    private LocalDateTime createAt;

    /**
     * 开始时间
     */
    private LocalDate startAt;

    /**
     * 结束时间
     */
    private LocalDate endAt;

    /**
     * 是否过期, 0: 过期，1: 未过期
     */
    private Integer isExpired;


}
